﻿using System.Collections.Generic;
using System;
using MapCenterSystem.DefineType;

namespace MapCenterSystem.DataInfo
{
    public class StreetTraffic
    {
        private DateTime updateTime;
        private int direction, level, speed;
        private Coordinate beginLocation, endLocation;

      
        private string cause, image;
        private int state;

        public Coordinate EndLocation
        {
            get { return endLocation; }
            set { endLocation = value; }
        }

        public Coordinate BeginLocation
        {
            get { return beginLocation; }
            set { beginLocation = value; }
        }
        public int Speed
        {
            get { return speed; }
            set { speed = value; }
        }
        public int State
        {
            get { return state; }
            set { state = value; }
        }

        public string Cause
        {
            get { return cause; }
            set { cause = value; }
        }


        public int Direction
        {
            get { return direction; }
            set { direction = value; }
        }

        public int Level
        {
            get { return level; }
            set { level = value; }
        }
       

        public string Image
        {
            get { return image; }
            set { image = value; }
        }
       

        public DateTime UpdateTime
        {
            get { return updateTime; }
            set { updateTime = value; }
        }
    }
}
